package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 建议收集对象 ev_suggestion
 * 
 * @author WJM
 * @date 2025-11-19
 */
public class EvSuggestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 建议ID */
    private Long suggestionId;

    /** 建议标题 */
    @Excel(name = "建议标题")
    private String title;

    /** 建议内容 */
    @Excel(name = "建议内容")
    private String content;

    /** 联系方式（留空即匿名） */
    @Excel(name = "联系方式", readConverterExp = "留=空即匿名")
    private String contactInfo;

    /** 所属校区/学院 */
    @Excel(name = "所属校区/学院")
    private String campus;

    /** 满意度评分（1-5） */
    @Excel(name = "满意度评分", readConverterExp = "1=-5")
    private Long satisfyScore;

    public void setSuggestionId(Long suggestionId) 
    {
        this.suggestionId = suggestionId;
    }

    public Long getSuggestionId() 
    {
        return suggestionId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }

    public void setCampus(String campus) 
    {
        this.campus = campus;
    }

    public String getCampus() 
    {
        return campus;
    }

    public void setSatisfyScore(Long satisfyScore) 
    {
        this.satisfyScore = satisfyScore;
    }

    public Long getSatisfyScore() 
    {
        return satisfyScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("suggestionId", getSuggestionId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("contactInfo", getContactInfo())
            .append("campus", getCampus())
            .append("satisfyScore", getSatisfyScore())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
